package com.huang.service;

import com.huang.dao.StudentMapper;
import com.huang.pojo.*;

import java.util.List;

public class StudentServiceImpl implements StudentService {

    private StudentMapper studentMapper;

    public void setStudentMapper(StudentMapper studentMapper) {
        this.studentMapper = studentMapper;
    }

    public int registerStudent(Student student) {
        return studentMapper.registerStudent(student);
    }

    public Student findStudentByNo(Student student) {
        return studentMapper.findStudentByNo(student);
    }

    public int improveStudentMsg(Student student) {
        return studentMapper.improveStudentMsg(student);
    }

    public Student loginStudent(Student student) {
        return studentMapper.loginStudent(student);
    }

    @Override
    public List<Activity> showActivity() {
        return studentMapper.showActivity();
    }

    @Override
    public int signUpActivity(ActivityPeople activityPeople) {
        return studentMapper.signUpActivity(activityPeople);
    }

    @Override
    public List<Activity> myActivity(ActivityPeople activityPeople) {
        return studentMapper.myActivity(activityPeople);
    }

    @Override
    public int applyScore(ApplyScore applyScore) {
        return studentMapper.applyScore(applyScore);
    }

    @Override
    public List<Activity> reviewActivity(Student student) {
        return studentMapper.reviewActivity(student);
    }

    @Override
    public List<Activity> passActivity(Student student) {
        return studentMapper.passActivity(student);
    }

    @Override
    public int activationAccount(Student student) {
        return studentMapper.activationAccount(student);
    }

    @Override
    public int changePwd(Student student) {
        return studentMapper.changePwd(student);
    }

    @Override
    public int feedBackStu(FeedBack feedBack) {
        return studentMapper.feedBackStu(feedBack);
    }

    @Override
    public List<Announcement> showNoticeStu(Announcement announcement) {
        return studentMapper.showNoticeStu(announcement);
    }

    @Override
    public List<FeedBack> showFeedBackStu(FeedBack feedBack) {
        return studentMapper.showFeedBackStu(feedBack);
    }

    @Override
    public List<Activity> showUnPassApply(Student student) {
        return studentMapper.showUnPassApply(student);
    }

    @Override
    public List<StudentScore> showSelfScore(Student student) {
        return studentMapper.showSelfScore(student);
    }

    @Override
    public int removeApplyStu(ApplyScore applyScore) {
        return studentMapper.removeApplyStu(applyScore);
    }

    @Override
    public List<ApplyScore> showSelfApplyMsgStu(ApplyScore applyScore) {
        return studentMapper.showSelfApplyMsgStu(applyScore);
    }

    @Override
    public int uploadAvatar(UserAvatar userAvatar) {
        return studentMapper.uploadAvatar(userAvatar);
    }

    @Override
    public int initializeAvatar(UserAvatar userAvatar) {
        return studentMapper.initializeAvatar(userAvatar);
    }

    @Override
    public UserAvatar JudgeAvatar(UserAvatar userAvatar) {
        return studentMapper.JudgeAvatar(userAvatar);
    }

    @Override
    public int uploadIdPhoto(UserAvatar userAvatar) {
        return studentMapper.uploadIdPhoto(userAvatar);
    }

    @Override
    public int stuLoginRecord(UserDiary userDiary) {
        return studentMapper.stuLoginRecord(userDiary);
    }

    @Override
    public int stuLogoutRecord(UserDiary userDiary) {
        return studentMapper.stuLogoutRecord(userDiary);
    }

    @Override
    public int stuOperateRecord(UserDiary userDiary) {
        return studentMapper.stuOperateRecord(userDiary);
    }

    @Override
    public List<UserDiary> viewSelfDiary(Student student) {
        return studentMapper.viewSelfDiary(student);
    }

    @Override
    public int updateActivityQuota(Activity activity) {
        return studentMapper.updateActivityQuota(activity);
    }

    @Override
    public int uploadApplyAnnex(ApplyScore applyScore) {
        return studentMapper.uploadApplyAnnex(applyScore);
    }

    @Override
    public int applyScoreWithAnnex(ApplyScore applyScore) {
        return studentMapper.applyScoreWithAnnex(applyScore);
    }

    @Override
    public List<ActivityPeople> ifSignUp(ActivityPeople activityPeople) {
        return studentMapper.ifSignUp(activityPeople);
    }

    @Override
    public List<UserDiary> viewUserDiaryDetail(UserDiary userDiary) {
        return studentMapper.viewUserDiaryDetail(userDiary);
    }

    @Override
    public ApplyScore findApplyByNoAndTime(ApplyScore applyScore) {
        return studentMapper.findApplyByNoAndTime(applyScore);
    }

}
